/*********************************************************
          File Name:11.12.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 20 Sep 2015 09:47:55 PM CST
**********************************************************/

#include <iostream>
#include <utility> // pair
#include <vector>
#include <string>

using std::string;
using std::vector;

int main()
{
        vector<std::pair<string, int>> v;
        string s;
        int i;

        while(std::cin >> s >> i)
        {
                v.push_back(std::pair<string, int>(s, i));
        }

        for(const auto &x: v)
                std::cout << x.first << " --> " << x.second << std::endl;

        return 0;
}
